package com.syq.service;

import com.syq.pojo.DtsStorage;

/**
 * @ClassName: DtsStorageService
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/29 9:36
 */


public interface DtsStorageService {
    DtsStorage uploadFile(byte[] file, String ext, int size, String originalFilename) throws Exception;

    Object findAll(Integer page, Integer limit, String key, String name, String sort, String order);


    DtsStorage update(DtsStorage dtsStorage, byte[] bytes, String ext, int size, String originalFilename) throws Exception;

    Object delete(DtsStorage dtsStorage);
}
